package org.example.myleet.p717;

public class Solution {
    public boolean isOneBitCharacter(int[] bits) {
        int i = 0, n = bits.length, end = n - 1;
        for (; i < end; ++i) {
            if (bits[i] == 1) {
                ++i;
            }
        }
        return i != n;
    }
}
